// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import store from './store'
import '@/permission' // permission control
import axios from 'axios'
import {FromatPushTime2} from "./api/unit";
import 'babel-polyfill';

Vue.prototype.FromatPushTime = FromatPushTime2
import 'swiper/dist/css/swiper.min.css';
Vue.config.productionTip = false
Vue.prototype.accId = 1

Vue.use(ElementUI);
// Vue.use(Swiper);
/* eslint-disable no-new */
Vue.prototype.$http = axios
new Vue({
  el: '#app',
  router,store,
  components: { App },
  template: '<App/>'
})
